<!--{tpl admin/header}-->

<form id="myform" onsubmit="return submits();" class="user_edit">
	<table width="100%" cellpadding=5 cellspacing=0>
		<tr>
			<td width="80px">用户名称</td>
			<td>{:$value[username]}</td>
		</tr>
		<tr>
			<td width="80px">农场经验</td>
			<td><input type="text" name="nc_exp" value="{:$value[exp_nc]}" />  {:$value['level_nc']} 级</td>
		</tr>
		<tr>
			<td width="80px">牧场经验</td>
			<td><input type="text" name="mc_exp" value="{:$value[exp_mc]}" />  {:$value['level_mc']} 级</td>
		</tr>
		<tr>
			<td width="80px">农田数目</td>
			<td><input type="text" name="nc_reclaim" value="{:$value[reclaim]}" /></td>
		</tr>
		<tr>
			<td width="80px">金币数量</td>
			<td><input type="text" name="money" value="{:$value[money]}" /></td>
		</tr>
		<tr>
			<td width="80px">Y币数量</td>
			<td><input type="text" name="YB" value="{:$value[YB]}" /></td>
		</tr>
		<tr>
			<td width="80px">VIP经验</td>
			<td><input type="text" name="vip" value="{:$value[vip][exp]}" />  {:$value[vip][level]}级 （注：1级=0,2级=300,3级=700,4级=1200,5级=1800,6级=2500,7级=3300）</td>
		</tr>
		<tr>
			<td width="80px">VIP状态</td>
			<td><input type="text" name="vipstatus" value="{:$value[vip][status]}" /> （注：-1=>过期,0=>未开通, 1=>月付费, 2=>年付费）</td>
		</tr>
		<tr>
			<td width="80px">VIP到期时间</td>
			<td><input type="text" name="vipvalid" value="{:$value[vip][valid]}" /> （注：日期格式 2010-03-25）</td>
		</tr>
	</table>
	<input type="submit" value="提 交" /><span id="state"></span>
</form>

<script type="text/javascript">
	function submits(inputId) {
		request('admin.php?mod=user_edit&submit=1&id={:$id}', 'state', $.getForm('#myform', 1));
		return false;
	}
</script>

<!--{tpl admin/footer}-->
